home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 3 / Amiga Tools 3.iso / grafik / raytracing / dustsmooth / smooth.txt < prev    next >
Text File  |  1995-08-24  |  6KB  |  153 lines

  1. ########################################################################
  2. #                                                                      #
  3. #      Dust's SMOOTH-Operator - a new dimension of polygon-rendering   #
  4. #                                                                      #
  5. ########################################################################
  6.  
  7. CONTENTS
  8.  1. Introduction
  9.  2. A smooth-operator
  10.  3. Usage of Dust2.2's smooth-commands
  11.  4. Additional notes
  12.  5. Author
  13.  
  14. 1. Introduction
  15. --------------------------------------------------------------------
  16. This manual is written to give you an overview about Dust's
  17. powerfull smooth-operator. Because I wrote this text while
  18. rendering the supplied frames I inserted a FAQ-like section
  19. which desribes and solves all problems I got.
  20. The objects are taken from various PD-archieves and are very
  21. different. This was important to get a real overview.
  22.  
  23.  
  24.  
  25.  
  26.  
  27. Polygon-renderers (such as Imagine or Lightwave) use phong-shading
  28. to create an illusion of a smooth object-surface. This is very
  29. fast and memory-friendly way. But often if you render organic or other
  30. smooth structures you can see the ugly edges which where not
  31. interpolated.
  32.  
  33. Mesh-renderers (such as Real3D) use spline-curves to build the
  34. complete object - there are no edges or triangles.
  35. But I think that this way is too slow and requires too much memory
  36. to be efficient.
  37.  
  38. Therefore I searched for a compromise.
  39.  
  40. 2. A smooth-operator
  41. --------------------------------------------------------------------
  42.  
  43. History:
  44.  A friend who bought Real3D 3.0 let me render some scenes.
  45.  The results where pretty - but I had to wait upto one hour
  46.  for every frame on a A4000.
  47.  After converting the meshes using my "mesh2tddd" I rendered
  48.  the whole scene in about 3 hours using Imagine (60 frames).
  49.  The results where not as good as Real3D's - but good enough.
  50.  
  51. Idea:
  52.  What about interpolating the edges using splines
  53.  and rendering the objects using Phong-shading ?
  54.  
  55. Result:
  56.  The results are pretty ! Now you can render your old
  57.  polygon-objects in a higher quality. Because the faces
  58.  become splitted you will need some more memory and
  59.  some more time (That's clear.)
  60.  One more advantage is the fact that you have to smooth
  61.  the object using Dust ONCE.
  62.  
  63. 3. Usage of Dust2.2's smooth-commands
  64. --------------------------------------------------------------------
  65.  
  66. At first you need Dust2.2, a registered version is recommended
  67. because of the 72-face-limit of the demo-version.
  68.  
  69. In the best case you load your object, smooth it by typing
  70. "smooth" and save it. But there can occur some problems:
  71. (suppose your object is loaded into layer 1)
  72.  
  73.  -after "smooth(1)": the boundary zone is distorted
  74.    Try it again with the "noHalveSegs"-option: "smooth(1,nohalvesegs)"
  75.  
  76.  -after "smooth(1,nohalvesegs)": the boundary zone is distorted
  77.    Try it again with the "smoothinner"-operator which
  78.    doesn't change the boundary-zone: "smoothinner(1)"
  79.  
  80.  -after "smooth(1)" or "smoothinner(1)": there are some
  81.   parts which are distorted (This can happen if you joined
  82.   some different objects):
  83.    a) use the "smoothsg"-operator which only smooths the
  84.       specified subgroup (if there is one)
  85.    b) split your object and use the "smoothinner"-operator
  86.       on the parts, join the smoothed parts, merge the result
  87.  
  88.  -Dust aborts with a "too much faces"-error. There is limit
  89.   of 8192 faces because Imagine has a limit of 32767 faces:
  90.    Try to split your object into components, group them later
  91.  
  92.  -You get some distorted faces after trying all options mentioned
  93.   bellow
  94.    Set the parameter MAXANGLE to a smaller value. MAXANGLE specifies
  95.    the largest angle between two neighbour-edges which are taken
  96.    to build a spline-curve. If the angle between the edges is too high
  97.    the points will be interpolated linear or using one-side-segments.
  98.  
  99.   Note: Maybe it would be faster for you to drag the errorous
  100.         points by hand. This is done in Imagine's perspective-editor
  101.         in about one minute.
  102.  
  103. 4. Addional notes
  104. --------------------------------------------------------------------
  105.  
  106.  1. This is an important note: This manual is NOT intended to
  107.     be a campain against Real3D. Real3D is a very nice piece
  108.     of software (shrink-wrapping, boolean operators, CSG,
  109.     physical effects, ONLINE-MANUAL FOR PROGRAMMERS !, ...)
  110.     But I think we "who growed up with polygons" can't
  111.     change our "philosophy". You must start with Real3D
  112.     and can't "upgrade" from Imagine. (This is only my personal
  113.     opinion.)
  114.  
  115.  2. The supplied examples are structured in the following way:
  116.     every  drawer contains the source-object, the Dust-script
  117.     creating the smooth object, and a picture comparing
  118.     the two objects.
  119.     I used the same scene to render both objects.
  120.     All frames where rendered using Imagine3.1 in about 1 minute
  121.     at only 40 Mhz.
  122.  
  123.     Note: 1. Some of the more complicated objects may have some small
  124.              errors (distorted faces). Normally I would drag the
  125.              points to correct them (1 minute-job). But I wanted
  126.              to render all objects in an unchanged state to demonstrate
  127.              the features of the smooth-operator.
  128.           2. The results are pretty, aren't they ?
  129.           3. All icons are NewIcons, of course.
  130.  
  131. 5. The author
  132. --------------------------------------------------------------------
  133.  
  134.  To get registered for Dust2.2 send ($25/25DM and your EMail-address)
  135.  or ($30/30) to:
  136.  
  137.                          Andreas Maschke
  138.                          Zenkerstraße 5
  139.                          06108 Halle/Saale
  140.                          Germany
  141.  
  142.                    Phone: ++49 (0)345/5170331
  143.                    EMail: epgbc@cluster1.urz.Uni-Halle.DE
  144.  
  145.  
  146.  You can find Dust2.2 in the Aminet now.
  147.  
  148. Note: If I get lots of response I will try to make the
  149.       smooth-operator faster.
  150.  
  151.  
  152. 25 August 1995
  153.